var datadetail = [];
function detail(state = datadetail, action) {
  switch (action.type) {
    case 'GETDETAIL':
      return [action.payload];
    default:
      return state;
  }
}
export default detail;
